var e = require("../../@babel/runtime/helpers/interopRequireDefault"), t = e(require("../../@babel/runtime/regenerator")), r = require("../../@babel/runtime/helpers/asyncToGenerator"), a = e(require("../../http/selectionApi")), n = getApp(), i = new a.default();

Page({
    data: {
        systemInfo: n.data.systemInfo
    },
    onLoad: function(e) {
        var a = this;
        return r(t.default.mark(function r() {
            var n;
            return t.default.wrap(function(t) {
                for (;;) switch (t.prev = t.next) {
                  case 0:
                    return wx.showLoading({
                        title: "加载中…"
                    }), t.prev = 1, t.next = 4, i.selectionDetails(e.activityId);

                  case 4:
                    n = t.sent, a.setData({
                        nodes: n.data.activityRule
                    }), t.next = 11;
                    break;

                  case 8:
                    t.prev = 8, t.t0 = t.catch(1), console.log(t.t0);

                  case 11:
                    return t.prev = 11, wx.hideLoading(), t.finish(11);

                  case 14:
                  case "end":
                    return t.stop();
                }
            }, r, null, [ [ 1, 8, 11, 14 ] ]);
        }))();
    }
});